package com.ruoyi.shop.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * brand对象 shop_brand
 * 
 * @author ruoyi
 * @date 2022-02-17
 */
public class ShopBrand extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 品牌id */
	private Long brandId;

	/** 品牌名称 */
	@Excel(name = "品牌名称")
	private String brandName;

	/** 品牌图标 */
	@Excel(name = "品牌图标")
	private String logo;

	/** 显示顺序 */
	@Excel(name = "显示顺序")
	private Long sort;

	/** 删除标志（0代表存在 2代表删除） */
	private String delFlag;

	/** 分类状态（0正常 1停用） */
	@Excel(name = "分类状态", readConverterExp = "0=正常,1=停用")
	private String status;

	/** 品牌是否存标识 */
	private boolean flag = false;

	public void setBrandId(Long brandId) {
		this.brandId = brandId;
	}

	public Long getBrandId() {
		return brandId;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getBrandName() {
		return brandName;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public void setSort(Long sort) {
		this.sort = sort;
	}

	public Long getSort() {
		return sort;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("brandId", getBrandId())
				.append("brandName", getBrandName())
				.append("logo", getLogo())
				.append("sort", getSort())
				.append("delFlag", getDelFlag())
				.append("status", getStatus())
				.append("createBy", getCreateBy())
				.append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime())
				.append("remark", getRemark())
				.append("flag", getDelFlag())
				.toString();
	}
}
